<template>
    <div>
        <el-breadcrumb separator="/">
            <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item><a href="/">{{title.meta.title}}</a></el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>
<script lang='ts' setup>
// 引入路由方法
import { useRoute } from 'vue-router';
let title  = useRoute();
</script>
<style scoped lang='less'></style>